import Request from '@/libs/request'

/**WEB 设备管理页面数据 */
export const uSelectMyDevManagerData = (data: {userId: string; devId: number}) =>
  Request.get<DeviceManagement.DevInfo>('/user/uSelectMyDevManagerData', data)

/**WEB 获取设备最近数据 */
export const uSelectDevParamCheckData = (data: {devId: number}) =>
  Request.get<DeviceManagement.CheckData[]>('/user/uSelectDevParamCheckData', data)

/**web 用户查询设备功能列表 */
export const uSelectDevFunBydDevId = (data: {devId: number}) =>
  Request.get<DeviceManagement.UtilData[]>('/user/uSelectDevFunBydDevId', data)
